package com.universityJob.modules.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author mao on 2021/5/14.
 * @version 1.0 maozhijob@163.com
 */
@Data
@TableName("tb_recommend")
public class Recommend implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 推荐ID
     */
    @TableId(value = "recommend_id",type = IdType.INPUT)
    private String recommendId;
    /**
     * 学号
     */
    private String username;
    /**
     * 推送的职位ID
     */

    private String jobId;
    /**
     * 阅读状态（0未阅读，1已阅读）
     */
    private String isRead;
    /**
     * 推荐时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Date createTime;

}
